import axios from 'axios'
export function getListData(params) {
  return axios({
    url: '/api',
    method: 'get',
    params: {
      results: params
    }
  })
}

export function getPageData(params) {
  return axios({
    url: '/api',
    method: 'get',
    params: {
      page: params.page,
      results: params.results
    }
  })
}

